//
//  ToursimThirdCell.m
//  Buiom_7.0
//
//  Created by lanou3g on 15/10/29.
//  Copyright © 2015年 triffe. All rights reserved.
//

#import "ToursimThirdCell.h"

@implementation ToursimThirdCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // 加载视图的布局
        [self addSubViews];
        
    }
    return self;
}

- (void)addSubViews
{
    self.topImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, KsWidth, 200)];
    [self.contentView addSubview:self.topImageView];

    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 210, KsWidth, 30)];
    self.titleLabel.font = [UIFont systemFontOfSize:20];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:_titleLabel];
    
    self.recommended_reasonLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 250, KsWidth, 60)];
    self.recommended_reasonLabel.textAlignment = NSTextAlignmentCenter;
    self.recommended_reasonLabel.numberOfLines = 0;
    [self.contentView addSubview:_recommended_reasonLabel];
    
//    self.imageViews = [[UIImageView alloc] initWithFrame:CGRectMake(0, 320, KsWidth, 70)];
//    self.imageViews.image = [UIImage imageNamed:@"title副本"];
//    [self.contentView addSubview:_imageViews];
    
    self.detailDescriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 315, KsWidth, 40)];
    self.detailDescriptionLabel.text = @"重点介绍";
    self.detailDescriptionLabel.textColor = [UIColor purpleColor];
    self.detailDescriptionLabel.textAlignment = NSTextAlignmentCenter;
    self.detailDescriptionLabel.font = [UIFont systemFontOfSize:20];
    [self.contentView addSubview:self.detailDescriptionLabel];
    
    self.descriptionsLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 350, KsWidth - 10, 100)];
    self.descriptionsLabel.font = [UIFont systemFontOfSize:15];
    self.descriptionsLabel.numberOfLines = 0;
    [self.contentView addSubview:_descriptionsLabel];
    
    self.addressLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, self.descriptionsLabel.bottom, KsWidth - 10, 60)];
    self.addressLabel.numberOfLines = 0;
    [self.contentView addSubview:_addressLabel];
    
    self.arrival_typeLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, self.addressLabel.bottom, KsWidth - 10, 120)];
    self.arrival_typeLabel.font = [UIFont systemFontOfSize:15];
    self.arrival_typeLabel.numberOfLines = 0;
    [self.contentView addSubview:_arrival_typeLabel];
    
    self.opening_timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.arrival_typeLabel.bottom, KsWidth - 20, 60)];
    self.opening_timeLabel.numberOfLines = 0;
    [self.contentView addSubview:_opening_timeLabel];
    
    self.feeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.opening_timeLabel.bottom, KsWidth - 20, 60)];
    self.feeLabel.numberOfLines = 0;
    [self.contentView addSubview:_feeLabel];
    
}











- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
